package com.alks.function.controller.common;


import com.alks.common.aop.ApiRestController;
import com.alks.entity.data.response.ResponseInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;

@RestController
@ApiRestController("/boxList")
@Api(tags = "下拉框")
@Slf4j
public class ListBoxController {


    @GetMapping("/vendorQuery")
    @ApiOperation(value = "色系",tags = "下拉框")
    public ResponseInfo getColorBoxList(){
        ArrayList<String> list = new ArrayList<>();
        list.add("单色系");
        list.add("插色系");
        return ResponseInfo.ok(list);
    }
}
